package cn.com.klun.tjy.other.tests;

public class Fortest {


    public static void main(String[] args) {

        






        for (int i = 0; i < 10; i++) {
            System.out.println("当前第 "+i+" 次循环");
            try{
                if(i==2){
                    int a = 1/0;
                }
            }catch (Exception e){
                System.out.println("异常发生"+e);
            }

        }
    }
}
